import {createApp} from 'vue'
import App from './App.vue'

import './style.css'

import './demos/ipc'
// 引入element ui plus组件
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import router from './router'

const app = createApp(App)
app.use(ElementPlus)
// 启用路由
app.use(router)

app.mount('#app')
    .$nextTick(() => {
        postMessage({payload: 'removeLoading'}, '*')
    })
